﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ObservePattern
{
    public class ConcreteObservable : ObervableBase
    {
        private float _askPrice;

        public float AskPrice 
        {
            set 
            {
                _askPrice = value;
                base.NotifyObservers(_askPrice);
            } 
        }

        private int _number;

        public int Number
        {
            set
            {
                _number = value;
                base.NotifyObservers(_number);
            }
        }
    }
}
